var params = $.urlGet();
var access_token = params.token
console.log(access_token)
window.localStorage.removeItem('token')
window.localStorage.setItem("token", access_token);
// window.localStorage.token = access_token
var random = parseInt(Math.random()*100000)
if (!access_token || access_token == "undefined"){
    alert('没有取到token')
}else {
    window.location.href = './home.html?v='+ random +''
}
